package com.idheima.zuoye.zuoye7;

import org.w3c.dom.ls.LSOutput;

import java.util.Scanner;

public class Test {

    public static void main(String[] args) {
        sex(MeiJu.Nan);
        sex(MeiJu.Nv);

    }


    public static void sex(MeiJu  s) {
        switch (s) {
            case Nan:
                System.out.println("推荐《斗破苍穹》");
                break;
            case Nv:
                System.out.println("推荐《91杨先生自传》");
                break;
            default:
                System.out.println("请输入正确的性别");
                break;
        }
    }
}
